﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@page import="entity.tUser"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%
	tUser tuser = (tUser) session.getAttribute("user");
%>
<div class="header">
	<div class="logo">
		<a href="getAlltDeviceToIndexAction"> <img src="images/logo.png"
				style="border: none;" /> </a>
	</div>
	<div class="menu_nav">
		<ul>
			<li style="border-right: 1px solid #fff;">
				<a href="getAlltDeviceToIndexAction">首页</a>
			</li>
			<li style="border-right: 1px solid #fff;">
				<a href="getAlltDeviceAction">设备</a>
			</li>
			<s:if test="#session.user.grade == 2 || #session.user.grade == 1">
				<li style="border-right: 1px solid #fff;">
					<a href="getAlltUserAction">人员</a>
				</li>
			</s:if>
			<li style="border-right: 1px solid #fff;">
				<a href="help.jsp">使用说明</a>
			</li>
			<li>
				<a href="exitAction"> 退出</a>
			</li>
		</ul>
	</div>
	<div class="clr"></div>
	<div class="hbg">
		<img src="images/header_images.png" alt="header images" class="fr" />
	</div>
</div>
